<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var arr=[1,2,3,4];
		arr.a=12;
		arr.show=function(){
			alert(this.a);
		}
        //this 当前发生事件的对像，
        //当前的方法属于谁、this就是谁
		arr.show();
	</script>
</head>
<body>
	
</body>
</html>